package com.lightboat.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lightboat.system.domain.CrmLogisticsAddress;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 物流地址配置Mapper接口
 * 
 * @author lightboat
 * @date 2025-08-21
 */
@Mapper
@Repository
public interface CrmLogisticsAddressMapper extends BaseMapper<CrmLogisticsAddress> {

    /**
     * 查询物流地址配置列表
     * 
     * @param crmLogisticsAddress 物流地址配置
     * @return 物流地址配置集合
     */
    public List<CrmLogisticsAddress> selectCrmLogisticsAddressList(CrmLogisticsAddress crmLogisticsAddress);

    /**
     * 删除物流地址配置
     * 
     * @param id 物流地址配置主键
     * @return 结果
     */
    public int deleteCrmLogisticsAddressById(Long id);

    /**
     * 批量删除物流地址配置
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCrmLogisticsAddressByIds(Long[] ids);
}
